//
//  CycleModel.m
//  NSURLSession轮播练习
//
//  Created by Feng on 2017/6/4.
//  Copyright © 2017年 feng. All rights reserved.
//

#import "CycleModel.h"
//#import "NetworkTool.h"
#import <NSObject+YYModel.h>

@implementation CycleModel

//+ (void)loadDataWithURLString:(NSString *)URLString andSuccess:(void(^)(NSArray *))successBlock andFailure:(void(^)(NSError *))failureBlock
//{
//    [[NetworkTool shareManager] GETURLString:URLString success:^(NSDictionary *responseObject) {
//        
//        NSDictionary *result = responseObject[@"result"];
//        
//        NSArray *activity_mobile = result[@"activity_mobile"];
//        
//        NSArray *imageDataArray = [NSArray yy_modelArrayWithClass:[CycleModel class] json:activity_mobile];
//        
//        if(successBlock)
//        {
//            successBlock(imageDataArray);
//        }
//        
//    } failure:^(NSError *error) {
//        
//        if(failureBlock)
//        {
//            failureBlock(error);
//        }
//    }];
//}

@end
